package com.ruoyi.park.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车位管理对象 park_space
 * 
 * @author 博雅
 * @date 2023-12-11
 */
public class ParkSpace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车位编号 */
    private Long spaceId;

    /** 车位编码 */
    @Excel(name = "车位编码")
    private String spaceCode;

    /** 停车场 */
    @Excel(name = "停车场")
    private Long parkId;

    /** 类型 */
    @Excel(name = "类型")
    private String spaceType;

    /** 面积 */
    @Excel(name = "面积")
    private Long spaceArea;

    /** 车位状态 */
    @Excel(name = "车位状态")
    private String spaceStatus;

    /** 备注 */
    private String spaceRemark;

    /** 是否有效 1、有效 0、无效 */
    private Long enable;

    public void setSpaceId(Long spaceId) 
    {
        this.spaceId = spaceId;
    }

    public Long getSpaceId() 
    {
        return spaceId;
    }
    public void setSpaceCode(String spaceCode) 
    {
        this.spaceCode = spaceCode;
    }

    public String getSpaceCode() 
    {
        return spaceCode;
    }
    public void setParkId(Long parkId) 
    {
        this.parkId = parkId;
    }

    public Long getParkId() 
    {
        return parkId;
    }
    public void setSpaceType(String spaceType) 
    {
        this.spaceType = spaceType;
    }

    public String getSpaceType() 
    {
        return spaceType;
    }
    public void setSpaceArea(Long spaceArea) 
    {
        this.spaceArea = spaceArea;
    }

    public Long getSpaceArea() 
    {
        return spaceArea;
    }
    public void setSpaceStatus(String spaceStatus) 
    {
        this.spaceStatus = spaceStatus;
    }

    public String getSpaceStatus() 
    {
        return spaceStatus;
    }
    public void setSpaceRemark(String spaceRemark) 
    {
        this.spaceRemark = spaceRemark;
    }

    public String getSpaceRemark() 
    {
        return spaceRemark;
    }
    public void setEnable(Long enable) 
    {
        this.enable = enable;
    }

    public Long getEnable() 
    {
        return enable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("spaceId", getSpaceId())
            .append("spaceCode", getSpaceCode())
            .append("parkId", getParkId())
            .append("spaceType", getSpaceType())
            .append("spaceArea", getSpaceArea())
            .append("spaceStatus", getSpaceStatus())
            .append("spaceRemark", getSpaceRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("enable", getEnable())
            .toString();
    }
}
